package com.app.bimo.module_accounts.mvp.model.entiy;

import androidx.annotation.Nullable;

/**
 * 用于接口返回数据
 */
public class PreferenceData {

    private String categoryid;
    private String categoryName;
    /**
     * 用户是否这是该选项  1 是 0 否
     */
    private int islike;

    private boolean isChoose;

    public String getCategoryid() {
        return categoryid;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryid(String categoryid) {
        this.categoryid = categoryid;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getIslike() {
        return islike;
    }

    public void setIslike(int islike) {
        this.islike = islike;
    }


    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    @Override
    public boolean equals(@Nullable Object obj) {
        PreferenceData data = (PreferenceData) obj;
        if (data.getCategoryid().equals(categoryid)) {
            return true;
        }
        return false;
    }
}
